import java.net.InetAddress
import java.security.{KeyStore, SecureRandom}
import javax.net.ssl.{KeyManagerFactory, SSLContext, TrustManagerFactory}

import akka.actor.{ActorSystem, Props}
import akka.http.scaladsl.{ConnectionContext, Http, HttpsConnectionContext}
import akka.stream.ActorMaterializer
import com.cookeem.chat.common.CommonUtils._
import com.cookeem.chat.restful.Route
import com.cookeem.chat.websocket.NotificationActor
import com.typesafe.config.ConfigFactory
import org.apache.commons.cli.{DefaultParser, HelpFormatter, Options, Option => CliOption}
import com.cookeem.chat.common.CommonUtils

/**
 * @Author: zhaoyu
 * @Date: 2020/10/15 11:14 AM
 * @Description:
 */
object Test extends App{


    //val serverContext: ConnectionContext=ConnectionContext.noEncryption();
    implicit val system = ActorSystem("chat-cluster")
    implicit val materializer = ActorMaterializer()
    import system.dispatcher
    implicit val notificationActor = system.actorOf(Props(classOf[NotificationActor]))
    Route.logRoute

}
